package org.jeecg.modules.product.job.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.product.job.ticket.entity.TbJobTicketAuditRecord;
import org.jeecg.modules.product.job.ticket.entity.TbJobTicketEvents;
import org.jeecg.modules.product.job.ticket.entity.TbJobTicketEventsOperatingReserve;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 电子作业票活动清单
 * @Author: jeecg-boot
 * @Date:   2024-08-08
 * @Version: V1.0
 */
public interface ITbJobTicketEventsService extends IService<TbJobTicketEvents> {
    /**
     * 添加一对多
     *
     * @param tbJobTicketEvents
     * @param tbJobTicketEventsOperatingReserveList
     * @param tbJobTicketAuditRecordList
     */
    public void saveMain(TbJobTicketEvents tbJobTicketEvents, TbJobTicketEventsOperatingReserve tbJobTicketEventsOperatingReserve, List<TbJobTicketAuditRecord> tbJobTicketAuditRecordList) ;

    /**
     * 修改一对多
     *
     * @param tbJobTicketEvents
     * @param tbJobTicketEventsOperatingReserveList
     * @param tbJobTicketAuditRecordList
     */
    public void updateMain(TbJobTicketEvents tbJobTicketEvents,TbJobTicketEventsOperatingReserve tbJobTicketEventsOperatingReserve,List<TbJobTicketAuditRecord> tbJobTicketAuditRecordList);

    /**
     * 删除一对多
     *
     * @param id
     */
    public void delMain (String id);

    /**
     * 批量删除一对多
     *
     * @param idList
     */
    public void delBatchMain (Collection<? extends Serializable> idList);
}
